package com.mlf.builder.mybatisPlus;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;

@Configuration
@MapperScan(basePackages = "com.mlf.builder.mybatisPlus")
@ConditionalOnProperty(name = "database.enabled", havingValue = "true", matchIfMissing = false)
public class DatabaseConfig {
}
